<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!-- Put site-specific property overrides in this file. -->
<configuration>
    <property>
        <name>dfs.namenode.datanode.registration.ip-hostname-check</name>
        <value>false</value>
    </property>
  <property>
    <name>dfs.blocksize</name>
    <value>{{ block_size }}</value>
  </property>
  {% if client_readahead is not none %}
  <property>
    <name>dfs.client.cache.readahead</name>
    <value>{{ client_readahead }}</value>
  </property>
  {% endif %}
  {% if dfs_data_paths %}
  <property>
    <name>dfs.datanode.data.dir</name>
    <value>{{ dfs_data_paths }}</value>
  </property>
  {% endif %}
  {% if dfs_replication %}
  <property>
    <name>dfs.replication</name>
    <value>{{ dfs_replication }}</value>
  </property>
  {% endif %}
  <!-- TODO(pclay): consider dfs.client.read.shortcircuit (requires native libs) -->
  <!-- https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/ShortCircuitLocalReads.html -->
</configuration>
